package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.ReplyBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface IReplyMapper extends BaseMapper<ReplyBean> {
    /**
     * 按主贴编号查询所有回帖
     *
     * @param stickId    主贴编号
     * @return  回帖集合
     */
    List<ReplyBean> findById(Integer stickId);
}
